package com.nchu.feign;

import com.nchu.dto.OrderDto;
import com.nchu.vo.res.BaseResVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "order")
public interface OrderFeignService {
    //  调用订单模块
    @PostMapping("/order/save")
    boolean save(@RequestBody OrderDto orderDto);

}
